# Contributor: Dmitry Zakharchenko <dmitz@disroot.org>
# Maintainer: Dmitry Zakharchenko <dmitz@disroot.org>
pkgname=py3-simber
_pkgname=simber
pkgver=0.2.6
pkgrel=3
pkgdesc="Simple, minimal and powerful logging library for Python"
url="https://github.com/deepjyoti30/simber"
arch="noarch"
license="MIT"
depends="py3-colorama"
makedepends="py3-setuptools"
checkdepends="py3-pytest $depends"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/deepjyoti30/simber/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 -m pytest
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
805f5c4aa08e1a6af803528648d3359d745fafba5e44ac416a8bdfc1e9c4ec80e9436aecd82e5b8efb16ec8b346074dc5b1300026ae21e4211777a0eb1642986  py3-simber-0.2.6.tar.gz
"
